package com.example.sqlite.entity.business;

import com.example.sqlite.entity.base.BaseEntity;
import javax.persistence.*;

@Entity
@Table(name = "t_people")
public class People extends BaseEntity {

		private String name;

		private Integer age;

		private String idNumber;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getIdNumber() {
		return idNumber;
	}

	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}

	@Override
	public String toString() {
		return "People{" +
				"name='" + name + '\'' +
				", age=" + age +
				", idNumber='" + idNumber + '\'' +
				'}';
	}
}
